<!DOCTYPE html>
<head>
  <meta charset="utf-8">
  <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><![endif]-->
  <title>提现结算</title>
  <meta name="keywords" content="" />
  <meta name="description" content="" />
  <meta name="viewport" content="width=device-width">
  <link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">  <link rel="stylesheet" href="css/templatemo_main.css">
<!-- 
Dashboard Template 
http://www.templatemo.com/preview/templatemo_415_dashboard
-->
</head>
<body>
  <div id="main-wrapper">
    <div class="navbar navbar-inverse" role="navigation">
      <div class="navbar-header">
        <div class="logo"><h1>Dashboard - Admin Template</h1></div>
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button> 
      </div>   
    </div>
    <div class="template-page-wrapper">
      <div class="navbar-collapse collapse templatemo-sidebar">
        <ul class="templatemo-sidebar-menu">
          <li>
            <form class="navbar-form">
              <input type="text" class="form-control" id="templatemo_search_box" placeholder="Search...">
              <span class="btn btn-default">Go</span>
            </form>
          </li>
          <li class="active"><a href="index.html"><i class="fa fa-home"></i>主页</a></li>
          <li class="sub">
            <a href="javascript:;">
              <i class="fa fa-database"></i> 用户管理 <div class="pull-right"><span class="glyphicon glyphicon-chevron-right"></span></div>
            </a>
            <ul class="templatemo-submenu">
              <li><a href="promoterTables.html">推广员管理</a></li>
              <li><a href="userTables.html">用户管理</a></li>
            </ul>
          </li>
          <li class="sub">
            <a href="javascript:;">
              <i class="fa fa-database"></i> 推广管理 <div class="pull-right"><span class="glyphicon glyphicon-chevron-right"></span></div>
            </a>
            <ul class="templatemo-submenu">
              <li><a href="picsManage.html">图片管理</a></li>
              <li><a href="atriclesManage.html">文章管理</a></li>
            </ul>
          </li>
          <li class="sub">
            <a href="javascript:;">
              <i class="fa fa-database"></i> 广告位管理 <div class="pull-right"><span class="glyphicon glyphicon-chevron-right"></span></div>
            </a>
            <ul class="templatemo-submenu">
              <li><a href="advertisingManage.html">广告设置</a></li>
            </ul>
          </li>
          <li class="sub">
            <a href="javascript:;">
              <i class="fa fa-database"></i> 咨询管理 <div class="pull-right"><span class="glyphicon glyphicon-chevron-right"></span></div>
            </a>
            <ul class="templatemo-submenu">
              <li><a href="counselManage.html">咨询管理</a></li>
            </ul>
          </li> 
          <li class="sub">
            <a href="javascript:;">
              <i class="fa fa-database"></i> 公告管理 <div class="pull-right"><span class="glyphicon glyphicon-chevron-right"></span></div>
            </a>
            <ul class="templatemo-submenu">
              <li><a href="announce.html">发布公告</a></li>
            </ul>
          </li>                    
          <li class="sub">
            <a href="javascript:;">
              <i class="fa fa-database"></i> 合作方管理 <div class="pull-right"><span class="glyphicon glyphicon-chevron-right"></span></div>
            </a>
            <ul class="templatemo-submenu">
              <li><a href="announce.html">发布公告</a></li>
            </ul>
          </li>                    
          <li>
            <a href="partnerManager.html">
              <i class="fa fa-cubes"></i><span class="badge pull-right">9</span>合作方管理
            </a>
          </li>
          <li class="sub">
            <a href="javascript:;">
              <i class="fa fa-database"></i> 佣金管理 <div class="pull-right"><span class="glyphicon glyphicon-chevron-right"></span></div>
            </a>
            <ul class="templatemo-submenu">
              <li><a href="commissionList.html">佣金列表</a></li>
              <li><a href="cashSettlement.html">提现结算</a></li>
            </ul>
          </li>                    
            <li><a href="data-visualization.html"><i class="fa fa-cubes"></i><span class="badge pull-right">9</span>Data Visualization</a></li>
          <li><a href="maps.html"><i class="fa fa-map-marker"></i><span class="badge pull-right">42</span>Maps</a></li>
          <li class="active"><a href="#"><i class="fa fa-users"></i><span class="badge pull-right">NEW</span>Manage Users</a></li>
          <li><a href="preferences.html"><i class="fa fa-cog"></i>Preferences</a></li>
          <li><a href="javascript:;" data-toggle="modal" data-target="#confirmModal"><i class="fa fa-sign-out"></i>Sign Out</a></li>
        </ul>
      </div><!--/.navbar-collapse -->

      <div class="templatemo-content-wrapper">
        <div class="templatemo-content">
          <ol class="breadcrumb">
            <li><a href="index.html">Admin Panel</a></li>
            <li><a href="#">Manage Users</a></li>
            <li class="active">Tables</li>
          </ol>
          <h1>提现结算</h1>
          <p>Here goes tables and users.</p>

          <!-- 新加的content -->

        <div class="row">
            <div class="col-sm-12">
            
                <!-- ibox begin -->
                <div class="ibox float-e-margins">
                
                   <!-- ibox title begin -->
                   <div class="ibox-title">
                      <!--  <h5>提现结算</h5> -->
                       <div class="ibox-tools">
                            <a href="javascript:void(0)" onclick="reviewPassBatch()" class="btn btn-primary btn-outline btn-xs"><i class="fa fa-eye"></i>&nbsp;&nbsp;<span>一键审核通过</span></a>
                            <a href="javascript:void(0)" onclick="reviewRejectBatch(0)" class="btn btn-primary btn-outline btn-xs"><i class="fa fa-eye-slash"></i>&nbsp;&nbsp;<span>审核驳回</span></a>
                            <a href="javascript:void(0)" onclick="completeBatch()" class="btn btn-primary btn-outline btn-xs"><i class="fa fa-legal"></i>&nbsp;&nbsp;<span>放款完成</span></a>
                            <a href="javascript:void(0)" onclick="reviewRejectBatch(1)" class="btn btn-primary btn-outline btn-xs"><i class="fa fa-frown-o"></i>&nbsp;&nbsp;<span>放款失败</span></a>
                            <a href="javascript:void(0)" onclick="exportExcel()" class="btn btn-primary btn-outline btn-xs"><i class="fa fa-file-excel-o"></i>&nbsp;&nbsp;<span>导出</span></a>
                       </div>
                   </div>
                   <!-- ibox title end -->
                   
                   <!-- ibox content begin -->
                   
                   <div class="ibox-content">
                       <div class="row">
                           <div class="col-sm-3 ">
                                <input type="text" class="input-small Wdate form-control"
                                        onclick="WdatePicker({dateFmt:'yyyyMM',maxDate:'%y-%M'})"
                                        placeholder="结算月" id="month"
                                        name="month" value=""> 
                           </div>
                           <div class="col-sm-2">
                                <select class="form-control" name="flag" >  
                                        <option value="" selected >通过状态过滤 </option>
                                        <option value="0"  >等待提现</option>
                                        <option value="1"  >等待放款</option> 
                                        <option value="2"  >审核驳回</option> 
                                        <option value="3"  >完成</option> 
                                        <option value="4"  >放款失败</option> 
                                </select> 
                           </div>
                           <div class="col-sm-2">
                            <input type="text" id="userName" name="userName" value="" placeholder="用户姓名" class="input-sm form-control"> 
                           </div>
                           <div class="col-sm-2">
                            <input type="text" id="userMobile" name="userMobile" value="" placeholder="用户手机号"  class="input-sm form-control"> 
                           </div>
                           <div class="col-sm-3">
                              <div class="input-group">
                                  <input type="text" id="userId" name="userId" value="" placeholder="用户ID" class="input-sm form-control"> 
                                  <span class="input-group-btn">
                                      <button type="button" class="btn btn-sm btn-primary" onclick="search();"> 搜索</button> </span>
                              </div>
                           </div>
                        </div>
                        <div class="table-responsive">
                            <table class="table table-striped">
                              <thead>
                                  <tr>
                                      <th><input type="checkbox" id="checkAll"/></th>
                                      <th>结算月</th>
                                      <th>申请人ID/姓名/手机号</th>
                                      <th>身份证</th>
                                      <th>收款人姓名/银行/卡号</th>
                                      <th>收入/支出</th>
                                      <th>税前/后金额</th>
                                      <th>状态</th>
                                      <th>操作</th>
                                  </tr>
                              </thead>
                              <tbody>
                                <tr>
                                          <td>
                                            
                                                <input name="id" type="checkbox" value="5442" />
                                            
                                            
                                          </td>
                                          <td name="month">
                                            201803
                                          </td>
                                          <td name="userInfo">
                                              55242<br/>
                                              AA 专业网贷  田小田13849098727<br/>
                                              13849098727
                                          </td>
                                          
                                          <td>
                                            <img src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1523775851598&di=f742384b25ab3f0d4c42c22d481cc4e8&imgtype=0&src=http%3A%2F%2Fimage.cnwest.com%2Fattachement%2Fjpg%2Fsite1%2F20151113%2F0019d183982817af824d15.jpg" class="img-zoomable"  style="height:70px;"/>
                                          </td>
                                          <td>
                                                                                                                     收款人姓名: 田原野 <br/>
                                                                                                                     开户银行: 招商银行 &nbsp; 郑州二十一世纪支行 <br/>
                                                                                                                     银行卡号: 6214833719203773<br/>
                                                                                                                     申请提现金额: 1124.00<br/>
                                                                                                                     申请时间: 2018-4-10 19:24:30                                                                        
                                          </td>
                                          <td>
                                                                                                                    一级佣金: 1200.00<br/>
                                                                                                                    二级佣金: 0.00<br/>                                                                      
                                                                                                                    飞单收入: 0.00<br/>
                                                                                                                    飞单花费: 0.00<br/>
                                                                                                                     调账金额: <a href="javascript:void();" title="" >0.00 </a>                                                                                                                                                                                                                       
                                          </td>
                                       
                                          <td name="accountInfo">
                                                                                                                   税前: 1205.00<br/>
                                                                                                                   扣税: 81.00<br/>
                                                                                                                   税后: 1124.00<br/>                                                                                                                                                                                                                                                                                                 
                                          
                                                                                                                    历史余额: 0.00<br/>
                                                                                                                    可提金额: 1124.00                                                                                                                                                                                                                                                                                             
                                          </td>
                                          
                                          <td>
                                            
                                                
                                                等待放款
                                                
                                                
                                                
                                                
                                             
                                          </td>
                                          <td>
                                             
                                             
                                                 <a href="javascript:void(0);" class="btn btn-warning btn-xs" onclick="complete(5442)" >
                                                    <i class="fa fa-legal"></i>&nbsp;放款完成
                                                 </a>
                                                 <a href="javascript:void(0);" class="btn btn-white btn-xs" onclick="reviewReject(1,5442)" >
                                                    <i class="fa fa-frown-o"></i>&nbsp;放款失败
                                                 </a>
                                             
                                          </td>
                                      </tr>
                                
                              </tbody>


                          </table>
                       </div>
                       <div class="row">
                           <div class="col-sm-12" >
                                <center><nav><ul class="pagination"><li><span>总数：1335</span></li><li class="disabled"><a><span aria-hidden="true">&laquo;</span><span class="sr-only">Previous</span></a></li><li class="active" ><a>1</a ></li ><li><a href="/cashApply/list?settleFlag=&flag=&month=&userMobile=&page=2&userName=&userId=">2</a></li><li><a href="/cashApply/list?settleFlag=&flag=&month=&userMobile=&page=3&userName=&userId=">3</a></li><li><a href="/cashApply/list?settleFlag=&flag=&month=&userMobile=&page=4&userName=&userId=">4</a></li><li><a href="/cashApply/list?settleFlag=&flag=&month=&userMobile=&page=5&userName=&userId=">5</a></li><li><a href="/cashApply/list?settleFlag=&flag=&month=&userMobile=&page=6&userName=&userId=">6</a></li><li><a href="/cashApply/list?settleFlag=&flag=&month=&userMobile=&page=7&userName=&userId=">7</a></li><li><a href="/cashApply/list?settleFlag=&flag=&month=&userMobile=&page=8&userName=&userId=">8</a></li><li><a href="/cashApply/list?settleFlag=&flag=&month=&userMobile=&page=9&userName=&userId=">9</a></li><li><a href="/cashApply/list?settleFlag=&flag=&month=&userMobile=&page=2&userName=&userId="><span aria-hidden="true">&raquo;</span><span class="sr-only">Next</span></a></li><li><a href="/cashApply/list?settleFlag=&flag=&month=&userMobile=&page=134&userName=&userId=">尾页</a></li></ul></nav></center>
                           </div>
                       </div>
                       
                    </div>
                    <!-- ibox content end -->
               </div>
               <!-- ibox end -->
        </div>
    </div>

          
          <!-- 新加的content -->



        </div>
      </div>

      <!-- Modal -->
      <div class="modal fade" id="confirmModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
          <div class="modal-content">
            <div class="modal-header">
              <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
              <h4 class="modal-title" id="myModalLabel">Are you sure you want to sign out?</h4>
            </div>
            <div class="modal-footer">
              <a href="sign-in.html" class="btn btn-primary">Yes</a>
              <button type="button" class="btn btn-default" data-dismiss="modal">No</button>
            </div>
          </div>
        </div>
      </div>

      <footer class="templatemo-footer">
        <div class="templatemo-copyright">
          <p>Copyright &copy; 2084 Your Company Name <!-- Credit: www.templatemo.com --></p>
        </div>
      </footer>
    </div>
</div>
    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/templatemo_script.js"></script>
    <script language="javascript" type="text/javascript" src="js/My97DatePicker/WdatePicker.js"></script
  </body>
</html>